package main

import "fmt"

func main() {
	strings := toSlice[string]("hello", "world")
	nums := toSlice(1, 2, 3)
	fmt.Println(strings)
	fmt.Println(nums)
}
func toSlice[T any](args ...T) []T {
	return args
}
